export default {
  namespace: 'mainpage',
  state: {
    collapsed: false
  },
  reducers: {
    'collapse'(state, {payload:{collapsed: collapsed}}) {
      // console.log(state)
      var result= {...state, collapsed};
      // console.log(result)
      return result;
    },
  },
  effects: {},
  subscriptions: {},
};
